{
  const e = document.createElement("span");
  (e.id = "uas-port"),
    (e.prepare = () => {
      (e.prefs = JSON.parse(decodeURIComponent(e.dataset.str))),
        (e.dataset.ready = !0),
        (e.dataset.type = e.prefs.type);
    }),
    (e.ogs = new Map()),
    e.addEventListener("register", (a) => {
      const i = a.detail.hierarchy.reduce((e, a) => e.frames[a], parent);
      e.ogs.set(a.detail.id, i);
    }),
    /*
    {"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Qianniu/9.29.02N Safari/537.36",
    "appVersion":"5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Qianniu/9.29.02N Safari/537.36",
    "platform":"Windows","vendor":"Google Inc.","product":"Gecko","oscpu":"[delete]","buildID":"[delete]","productSub":"20030107",
    "userAgentDataBuilder":{"p":{"ua":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Qianniu/9.29.02N Safari/537.36",
    "browser":{"name":"Chrome","version":"108.0.0.0","major":"108"},"engine":{"name":"Blink","version":"108.0.0.0"},"os":{"name":"Windows","version":"10"},
    "device":{},"cpu":{"architecture":"amd64"}},"ua":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Qianniu/9.29.02N Safari/537.36"},
    "type":"per-tab"}
    */
    document.documentElement.append(e),
    (e.dataset.str =
      "%7B%22userAgent%22%3A%22Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F108.0.0.0%20Qianniu%2F9.29.02N%20Safari%2F537.36%22%2C%22appVersion%22%3A%225.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F108.0.0.0%20Qianniu%2F9.29.02N%20Safari%2F537.36%22%2C%22platform%22%3A%22Windows%22%2C%22vendor%22%3A%22Google%20Inc.%22%2C%22product%22%3A%22Gecko%22%2C%22oscpu%22%3A%22%5Bdelete%5D%22%2C%22buildID%22%3A%22%5Bdelete%5D%22%2C%22productSub%22%3A%2220030107%22%2C%22userAgentDataBuilder%22%3A%7B%22p%22%3A%7B%22ua%22%3A%22Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F108.0.0.0%20Qianniu%2F9.29.02N%20Safari%2F537.36%22%2C%22browser%22%3A%7B%22name%22%3A%22Chrome%22%2C%22version%22%3A%22108.0.0.0%22%2C%22major%22%3A%22108%22%7D%2C%22engine%22%3A%7B%22name%22%3A%22Blink%22%2C%22version%22%3A%22108.0.0.0%22%7D%2C%22os%22%3A%7B%22name%22%3A%22Windows%22%2C%22version%22%3A%2210%22%7D%2C%22device%22%3A%7B%7D%2C%22cpu%22%3A%7B%22architecture%22%3A%22amd64%22%7D%7D%2C%22ua%22%3A%22Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F108.0.0.0%20Qianniu%2F9.29.02N%20Safari%2F537.36%22%7D%2C%22type%22%3A%22per-tab%22%7D"),
    e.dataset.str
      ? e.prepare()
      : self.top === self && (e.dataset.disabled = !0);
}
